# Contributor: Andrew Hills <ahills@ednos.net>
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=xbindkeys
pkgver=1.8.7
pkgrel=1
pkgdesc="Program for launching shell commands via keyboard shortcuts in X"
url="https://nongnu.org/xbindkeys/"
arch="all"
license="GPL-2.0"
makedepends="libx11-dev"
subpackages="$pkgname-doc"
source="https://nongnu.org/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	./configure --prefix=/usr \
		--disable-guile \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
a6b1478e8ef4bedc686fdd15abc11a8a592ac17c69e1a5a13f60e735e9be9646faed62e980cdac4aa7bc7e3253237465de38dee98935dd3f9911d4e48209b2e9  xbindkeys-1.8.7.tar.gz
"
